package com.chenzhou;

import com.chenzhou.common.Encrypt;
import com.chenzhou.dao.ProductDAOImpl;
import com.chenzhou.entity.ProductEntity;

public class App {

    public static void main(String[] args) {
        String str = "bbb";
        String str1 = Encrypt.md5AndSha(str);
        System.out.println(str1);

        /*ProductDAOImpl dao = new ProductDAOImpl();
        ProductEntity p = new ProductEntity();
        p.setPname("辣条");
        p.setPprice(100f);
        p.setPnum(10);
        int a = dao.add_product(p);*/
    }
}
